projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8af97
)
Include unistd.h only if HAVE_UNISTD_H.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 12 Jul 2007 01:41:38 +0000
(
01:41
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 12 Jul 2007 01:41:38 +0000
(
01:41
+0000)
src/ChangeLog
patch
|
blob
|
history
src/term.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index df9ae72e2b89054f468b8a9cc710d64bfc196dbb..e920eb57437e334be8f3defeb0a2f42473736dc2 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2007-07-12 Richard Stallman <rms@gnu.org>
+
+ * term.c: Include unistd.h only if HAVE_UNISTD_H.
+
2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
* lisp.h (struct Lisp_Hash_Table): Turn next_weak into a bare pointer.
diff --git
a/src/term.c
b/src/term.c
index 41ccfb0dd1f10f4daea1ea70cd79d42968fb19b5..b88448fc446c72bb30784a23041ff379f26f6fc1 100644
(file)
--- a/
src/term.c
+++ b/
src/term.c
@@
-25,7
+25,9
@@
Boston, MA 02110-1301, USA. */
#include <stdio.h>
#include <ctype.h>
#include <string.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include "termchar.h"
#include "termopts.h"